python下的spectral模块(高光谱图像处理) |
您所在的位置:网站首页 › spectral properties › python下的spectral模块(高光谱图像处理) |
Spectral Python (SPy)是一个用于处理高光谱图像数据的纯Python模块。它具有读取、显示、操作和分类高光谱图像的功能。 之所以用它是因为这个对多波段图像的支持更好 参考 一、SPy 安装 依赖模块虽然可以只用Python和NumPy来使用SPy来处理高光谱数据,但如果想使用SPy的任何图形功能,你还需要其他几个模块 这个时候会显示图片信息,包括长宽波段数等,如下: Data Source: '.\.\./92AV3C.lan' # Rows: 145 # Samples: 145 # Bands: 220 Interleave: BIL Quantization: 16 bits Data format: int16读取图像文件中的特殊子类实例方法 方法 描述 read_band Reads a single band into an MxN array read_bands Reads multiple bands into an MxNxC array read_pixel Reads a single pixel into a length B array read_subregion Reads multiple bands from a rectangular sub-region of the image read_subimage Reads specified rows, columns, and |
今日新闻 |
点击排行 |
|
推荐新闻 |
图片新闻 |
|
专题文章 |
CopyRight 2018-2019 实验室设备网 版权所有 win10的实时保护怎么永久关闭 |